Skip to content

Fixed lengths of functions #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 11, 2019
Merged

Fixed lengths of functions #4

merged 1 commit into from
Jan 11, 2019

Conversation

Creris
Copy link

@Creris Creris commented Jan 11, 2019

Changed length of 3 functions so that they do not take more than 50 lines by separating them to smaller blocks.

Also found and fixed a bug in SideBySide renderer, where it would print wrong line count for modified lines on the right side.

I failed to change the render method in Diff_Renderer_Text_Context, because there was nothing that made logical sense to pull out to separate function and I did not want to remove empty lines as to not break readability of the code.

Changed length of 3 functions so that they do not take more than 50
lines by separating them to smaller blocks.
Also found and fixed a bug in SideBySide renderer, where it would print
wrong line count for modified lines on the right side.
@JBlond JBlond merged commit 56d7a5f into JBlond:master Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants